package com.xbongbong.paas.pojo.workflow.task.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author chenpeng
 * @version 1.0
 * @date 2021-05-11 15:42
 * @description
 */
@Setter
@Getter
@ToString
public class WorkflowCommentListDTO extends BaseDTO {
    
    private static final long serialVersionUID = -8697407811507609649L;
    /**
     *应用id
     */
    @NotNull(message = "{dto.msg.workflowCommentList.appId.NotNull}")
    private Long appId;
    
    @NotNull(message = "{dto.msg.workflowCommentList.refId.NotNull}")
    private Long refId;
    
    @NotNull(message = "{dto.msg.workflowCommentList.businessType.NotNull}")
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer businessType;
    
    private Integer del;
    
    public WorkflowCommentListDTO(){
        del = 0;
    }
    
}
